﻿using System;
using System.Linq;

    class Bonuses
    {
        static void Main(string[] args)
        {
            Console.Write("Enter digit from 1 to 9: ");
            int n = int.Parse(Console.ReadLine());

            switch (n)
            {
                case 0:
                    {
                        Console.WriteLine("Error");
                        break;
                    }
                case 1:
                case 2:
                case 3:
                    {
                        n = n * 10;
                        Console.WriteLine(n);
                        break;
                    }
                case 4:
                case 5:
                case 6:
                    {
                        n = n * 100;
                        Console.WriteLine(n);
                        break;
                    }
                case 7:
                case 8:
                case 9:
                    {
                        n = n * 1000;
                        Console.WriteLine(n);
                        break;
                    }
                default:
                    Console.WriteLine("Error");
                    break;
            }
        }
    }

